package com.hw.dagl.controller;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.io.UnsupportedEncodingException;
import java.security.SecureRandom;

@Controller
public class AccoutController extends BaseController{

	/**
	 * Get方式请求登录
	 */
	@RequestMapping(method=RequestMethod.GET)
	public String login(){
		return "login";
	}
	
	/**
	 * 帐号请求登录
	 */
	@RequestMapping(method=RequestMethod.POST)
	public String login(HttpServletRequest request, HttpServletResponse response){
		return "index";
	}
 
}
